package com.heo.music.player.dto.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * created on 2024-05-11 09:28
 *
 * @author 星天无极
 **/
@ApiModel(description = "音乐信息录入")
@Data
public class MusicInfoInput {


    @ApiModelProperty(value = "音乐标题", required = true)
    @NotNull(message = "音乐标题不能为空")
    private String title;

    @ApiModelProperty(value = "艺术家", required = true)
    @NotNull(message = "艺术家不能为空")
    private String artist;

    @ApiModelProperty(value = "专辑", required = true)
    @NotNull(message = "专辑不能空")
    private String album;

    @ApiModelProperty(value = "音乐文件路径", required = true)
    @NotNull(message = "音乐文件路径不能为空")
    private String filePath;

    @ApiModelProperty(value = "音乐封面路径", required = true)
    @NotNull(message = "音乐封面路径不能为空")
    private String coverPath;

    @ApiModelProperty(value = "音乐歌词路径")
    private String lyricsPath;

}
